package com.lihao.controller;

import com.github.pagehelper.PageInfo;
import com.lihao.entity.EUser;
import com.lihao.param.PageParam;
import com.lihao.result.ItemResult;
import com.lihao.service.EUserService;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * (EUser)表控制层
 *
 * @author makejava
 * @since 2024-04-15 21:54:55
 */
@RestController
@RequestMapping("eUser")
public class EUserController {

    /**
     * 服务对象
     */
    @Resource
    private EUserService eUserService;

    @PostMapping("page")
    public PageInfo<EUser> page(@RequestBody PageParam param)
    {
        return eUserService.page(param);
    }

}

